﻿@model List<UcAsp.Models.AdvPositions>
@{
    ViewBag.Title = "SetAdvPostion";
    Layout = "~/Views/Shared/_AdminLayOut.cshtml";
}
<script>
    $(document).ready(function () {
        $(".editadv").click(function () {
            $.post("/admin/GetAdvPostion", { AdvName: $(this).attr("data-id") }, function (dataresult) {
                $.facebox(dataresult, "ucaspfacebox");
            })
        });
        
    })

</script>

<h2 >自定义信息</h2>
 <table>
            <thead>
              <tr>                
                <th>自定义信息</th>
                 <th>名称</th>
                <th>操作</th>
              </tr>
            </thead>
       <tbody>
     @foreach(UcAsp.Models.AdvPositions adv in Model)
     {
          
              <tr>
                <td>@adv.AdvPositionName</td>
                 <td>@adv.AdvChinaName</td>
                <td>
                  <!-- Icons -->
                  <a href="#" class="editadv"  rel="modal" data-id="@adv.AdvPositionName"  title="Edit Meta"><img src="/content/resources/images/icons/hammer_screwdriver.png" /></a> </td>
              </tr>
            
     }
            </tbody>
          </table>